import java.net.ServiceSocket; 
import java.io.*;
import java.net.Socket;
public class Service{
	public static void  main(String[] args) throws Excepton{
		ServiceSocket ss = new ServiceSocket(30000);
		while(true){
			Socket s = ss.accept();
			OutputStream os = s.getOutputStream();
			os.write("您好！你收到了服务器的新年祝福！\n".getBytes("utf-8"));
			os.close();
			s.close();
		}

	}
}